PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


DrawThemeTabPane

Draws a tab pane.

pascal OSStatus DrawThemeTabPane (
                     const Rect *inRect,
                     ThemeDrawState inState);
inRect
A pointer to a structure of type Rect . Before calling DrawThemeTabPane , set the rectangle to the bounds of the tab pane, in local coordinates.
inState
A value of type ThemeDrawState . Pass a constant specifying the state in which to draw the tab pane; see Theme Draw State Constants . The tab pane can be drawn as active or inactive; passing kThemeStatePressed produces an error.
function result
A result code; see Result Codes .
DISCUSSION

The DrawThemeTabPane function draws a theme-compliant tab pane. A tab control consists of two basic components: multiple tabs that label the various content pages that can be displayed and a single pane upon which the content for each tab is drawn. Use the function DrawThemeTab to draw the tab. The Appearance Manager coordinates the appearance of the pane and frontmost tab automatically.

VERSION NOTES

Available with Appearance Manager 1.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)